package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 问题表实体
 * 表名 question
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Dec 16 10:45:02 CST 2020
 */
@Setter
@Getter
public class QuestionEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //问答人id
    private Long userId;
        //商品id
    private Long goodsId;
        //问答人昵称
    private String userName;
        //IMG-问题图
    private String img;
        //问题内容
    private String content;
        //问题时间
    private Date time;
        //起止时间
    Date[] times;
        //ENUM-状态:"NO-未通过","AUDIT-待审核","YES-已通过"
    private Integer status;
        //头像
    private String avatar;
    //备注
    private String remark;

    private List<AnswerEntity> list;

    private MallGoodsEntity goods;

    private ShopEntity shop;

    private Integer isAnswerAudit = 0;

    private Integer isAnswer = 0;

    public QuestionEntity(){

    }

}
